package com.demo.study.creative.d02_abstractFactory.expand;

import com.demo.study.creative.d02_abstractFactory.Sender;
import com.demo.study.creative.d02_abstractFactory.impl.MailSender;

/**
 * @author Baymax
 * @since 2021/1/18
 */
public class MailFactory extends SenderProvider {
    @Override
    public Sender produce() {
        return getMailSender();
    }

    public static Sender getMailSender() {
        return new MailSender();
    }
}
